<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>sa</h1>
<a th:href="@{hello}">测试springmvc</a>
<a href="/hello">测试绝对路径</a>
<a th:href="@{hello(username='admin')}">测试springmvc传递参数</a>
<a th:href="@{/hello/1/admin}">测试rest路径中的占位符</a>
<form method="post" th:action="@{/testgetparam}">
    <input type="text" name="username">
    <input type="text" name="password">
    <input type="submit" value="登录">
</form>
</body>
</html>